package com.login_php.manager;

import org.apache.log4j.Logger;
import org.apache.torque.Torque;

public class AplicationEng {
	
	private static final Logger LOG = Logger.getLogger(AplicationEng.class);
	private static UsuarioEng USER_ENG;
	private AplicationEng() {
	}
	
	public static AplicationEng initialize(){
		
		try{
			USER_ENG = 			new UsuarioEng();
			return new AplicationEng();
		}catch(Exception e){
			LOG.error("Ocorreu um erro ao inicializar a Engine da Aplicação", e);
		}
		return null;
	}
	
	
	public UsuarioEng getUsuarioEng(){
		return USER_ENG;
	}
	
}
